//
//  HKSquareCell.m
//  BaiSiBuDeJie
//
//  Created by 胡锦涛 on 2018/12/4.
//  Copyright © 2018 胡锦涛. All rights reserved.
//

#import "HKSquareCell.h"
#import "HKSquareItem.h"
@interface HKSquareCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *nameL;

@end
@implementation HKSquareCell
- (void)setItem:(HKSquareItem *)item
{
    _item = item;
    [_iconView sd_setImageWithURL:[NSURL URLWithString:item.icon]];
    _nameL.text = item.name;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
